<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
echo '<script type="text/javascript" src="jquery/drag/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="jquery/drag/jquery-ui-1.7.1.custom.min.js"></script>
<link rel=\'stylesheet\' href=\'jquery/drag/styles.css\' type=\'text/css\' media=\'all\' />
<script type="text/javascript">
  // When the document is ready set up our sortable with it\'s inherant function(s)
  $(document).ready(function() {
    $("#test-list").sortable({
      handle : \'.handle\',
      update : function () {
		  var order = $(\'#test-list\').sortable(\'serialize\');
  		$("#info").load("jquery/drag/process-menu.php?"+order);
      }
  });
});

</script>';
?>
